isAllowedByScope

abstract fun isAllowedByScope(block: DesignBlock, key: String): Boolean

Check if a scope is allowed for a given block.

Return

whether the scope is allowed for the given block.

Parameters

block

the block to check.

key

the scope to check.